/*
* SeckillOrder.java
* Copyright(C) initcap
* @date 2018-08-08
*/
package cn.initcap.entity;

/**
 * @Title seckill_order表的实体类
 * @Author initcap
 * @Date 2018-08-08 20:49:42
 */
public class SeckillOrder {
    /**
     * @Fields id
     */
    private Long id;

    /**
     * @Fields userId 用户ID
     */
    private Long userId;

    /**
     * @Fields orderId 订单ID
     */
    private Long orderId;

    /**
     * @Fields goodsId 商品ID
     */
    private Long goodsId;

    /**
     * 获取  字段:seckill_order.id
     *
     * @return seckill_order.id,
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置  字段:seckill_order.id
     *
     * @param id the value for seckill_order.id,
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取 用户ID 字段:seckill_order.user_id
     *
     * @return seckill_order.user_id, 用户ID
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置 用户ID 字段:seckill_order.user_id
     *
     * @param userId the value for seckill_order.user_id, 用户ID
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取 订单ID 字段:seckill_order.order_id
     *
     * @return seckill_order.order_id, 订单ID
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * 设置 订单ID 字段:seckill_order.order_id
     *
     * @param orderId the value for seckill_order.order_id, 订单ID
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取 商品ID 字段:seckill_order.goods_id
     *
     * @return seckill_order.goods_id, 商品ID
     */
    public Long getGoodsId() {
        return goodsId;
    }

    /**
     * 设置 商品ID 字段:seckill_order.goods_id
     *
     * @param goodsId the value for seckill_order.goods_id, 商品ID
     */
    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }
}